<template>
  <div :class="{'basic-container--block':block}" class="basic-container">
    <slot />
  </div>
</template>

<script>
export default {
  name: 'basicContainer',
  props: {
    block: {
      type: Boolean,
      default: false
    }
  }
}
</script>

<style lang="scss" >
.basic-container {
  padding: 16px;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: white;
  margin: 16px 24px;

  .el-card {
    width: 100%;
  }

  &:first-child {
    padding-top: 0;
  }

  &--block {
    height: 100%;

    .el-card {
      height: 100%;
    }
  }

  //   /deep/ .operaColumn .el-button {
  //     color: var(--color);
  //   }
}
</style>
